@import '@/app/styles/variables';

.tag {
  all: unset;
  box-sizing: border-box;
  user-select: none;
  height: 36px;
  cursor: pointer;
  display: flex;
  padding: 7px 14px 7px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 1000px;
}

.primary {
  border: 1px solid var(--simple-gray-day, #e1e1e1);
  color: var(--simple-gray-midnight, #7d7d7d);
}

.secondary {
  border: 1px solid #000;
  color: #000;
  transition: all 0.1s ease-in;
  padding: 7px 16px 7px 16px;
  &:hover {
    color: var(--simple-morning, #fff);
    background: var(--simple-night, #000);
  }
}

.icon {
  width: 16px;
  height: 16px;

  &_container {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  svg {
    width: 100%;
    height: 100%;
  }
}

.selected {
  border: 1px solid #000;
  color: var(--simple-morning, #fff);
  background: var(--simple-night, #000);

  .icon {
    color: inherit;
    fill: currentColor;
  }

  &:hover {
    color: #e1e1e1;
  }
}

.text {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
}

@include media(xs) {
  .tag {
    gap: 6px;
  }

  .icon {
    margin-top: 1px;
  }

  .text {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
  }

  .cross {
    padding: 7px 12px 8px 16px;
  }
}
